projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bccbb9
)
* lisp/vc/vc-dir.el (vc-dir-search): Avoid `eval`.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 20 Jun 2019 21:45:52 +0000
(17:45 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 20 Jun 2019 21:45:52 +0000
(17:45 -0400)
lisp/vc/vc-dir.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-dir.el
b/lisp/vc/vc-dir.el
index 7af1e0db4ff50525beebce8c6ba391b63c8ffb7a..41b1087ee59e561f5c2b5b2a75fbf0dc12d630d5 100644
(file)
--- a/
lisp/vc/vc-dir.el
+++ b/
lisp/vc/vc-dir.el
@@
-804,7
+804,9
@@
For marked directories, use the files displayed from those directories.
Stops when a match is found.
To continue searching for next match, use command \\[tags-loop-continue]."
(interactive "sSearch marked files (regexp): ")
- (tags-search regexp '(mapcar 'car (vc-dir-marked-only-files-and-states))))
+ (tags-search regexp
+ (lambda ()
+ (mapcar #'car (vc-dir-marked-only-files-and-states)))))
(defun vc-dir-query-replace-regexp (from to &optional delimited)
"Do `query-replace-regexp' of FROM with TO, on all marked files.